// import http from '@/system/utils/request';
// import { toURL, urlParams } from '@/system/utils/toURL';
// import { getApiVersion } from '@/system/utils/apiVersion';

/**
 * 生成数据
 *
 * @param {Object} params
 * @param {string} params.id
 * @param {string} params.zuanQuBZ
 * @param {string} params.chaXunQBBZ
 * @param {string} params.xianZhiTS
 * @param {string} params.pageIndex
 * @param {string} params.pageSize
 * @param {import('axios').AxiosRequestConfig} config axios 可选配置
 *
 * @return {Promise<*>}
 */
export function request(data, config) {
  data = data || {};
  data.version = getApiVersion('juecefxpt');
  const url = toURL(
    '/mediinfo-grus-juecefxpt/api/v1.0/BIZuJianWH/GenerateDataList',
    data,
  );
  // return http.request({ url, method: 'POST', data, ...config });
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve([{
        name: '111',
        value: '1111'
      }])
    }, 200);
  });
}
